|
AL LOAD SOUND
This function allows you to set the master, overall volume of all sounds played through DarkAL.
AL LOAD SOUND soundNumber, filename, streamingEnabled
soundNumber
Integer
The ID you want to use to create this sound.
filename
String
The name of the audio file you wish to load.
streamingEnabled
Boolean
A value of 1 will enable streaming on the sound. Streaming loads the audio file from the storage media (e.g. hard drive) in smaller chunks at play-time, reducing the amount of memory needed to load the sound file. This is useful for large sound files, but due to the overhead that comes with reading from a hard drive or similar, it is recommended you disable this for smaller audio files.
This function does not return a value.
|